package com.qf.service;


import com.qf.pojo.UserInfo;
import com.qf.pojo.resp.BaseResult;

import javax.servlet.http.HttpSession;

public interface UserService {
    BaseResult login(UserInfo userInfo, HttpSession session);

    BaseResult addUser(UserInfo userInfo);

    BaseResult updateUser(UserInfo userInfo, HttpSession session);

    BaseResult deleteUserById(Integer id);

    BaseResult findAllUser();

    BaseResult logout(HttpSession session);
    UserInfo findUserByTel(String tel);
    BaseResult findOneBySession(HttpSession session);

//    BaseResult sendMail(String username);

}
